define(function(require, exports, module) {

	require("plugins/ueditor/init");
	
	module.exports = function() {
		var ue = {
			destroy:function() {}
		};
		return {
			data: {
				
			},
			methods: {
				init:function(params) {
					ue = UE.getEditor('demoEditor');
					return true;
				},
				destroy:function() {
					ue.destroy();
				}
			}
		}
	}

});